package models;

import play.db.jpa.*;

import javax.persistence.*;

import java.util.*;

@Entity
@Table(name = "forumcategories")
public class forumCategory extends Model {

    public String name;
    public String description;
    @OneToMany
    public List<forumSubject> forumpost;

    public forumCategory(String name, String description, List<forumSubject> forumpost) {


        this.name = name;
        this.description = description;
        this.forumpost = forumpost;



    }
}
